<?php
function emailValidation($email) 
{
	$regexp = "/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/";
	if (preg_match($regexp, $email))
		return "true";
	else
		return "false";
}
?>